//
//  RemoteView.h
//  OMG
//
//  Created by Burn on 2019/7/8.
//  Copyright © 2019 menksoft. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface RemoteView : UIView
@property(strong,nonatomic) NSURL *url;
@property(assign,nonatomic) BOOL isStream;
@property(assign,nonatomic,getter=isSmall) BOOL small;              //  是否隐藏上面的Top栏
@property(copy,nonatomic)   NSString *imgURL;
@property(strong,nonatomic) UIButton *fullScreen;


- initWith:(NSURL *)url cachePolicy:(BOOL)policy frame:(CGRect)frame;
- (void)stop;
- (void)pause;
- (void)updatePlayeState;


- (void)doFullScreen;

@end

NS_ASSUME_NONNULL_END
